package com.aos.service.user;

import com.aos.entity.User;

public interface UserService {

    /**
     * @return
     * @Title: checkUser
     * @Description:校验用户名密码
     * @param: @param userName
     * @param: @param passWord
     * @return: void
     * @throws
     */
    User checkUser(String userName, String password);

    /**
     * @return
     * @Title: insertUser
     * @Description:新增用户
     * @param: @param userName
     * @param: @param passWord
     * @return: void
     * @throws
     */
    int insertUser(String userName,String realName, String password,String serviceId,Long uid,String salt);

    /**
     * @return
     * @Title: updateUser
     * @Description:修改用户信息
     * @param: @param userName
     * @param: @param passWord
     * @return: void
     * @throws
     */
    int updateUser(String userName,String realName, String password,String serviceId,Long uid,String salt);

    /**
     * @return
     * @Title: deleteUsers
     * @Description:删除用户
     * @param: @param userName
     * @param: @param passWord
     * @return: void
     * @throws
     */
    int deleteUser(String userName,String serviceId,Long uid);
}
